<style type="text/css">
#historyDetail {padding:0;margin:0;}
#historyDetail li {list-style-type: none;height:25px;line-height:25px;}
#historyDetail .date { color: #AEAEAE;float: right;text-align: right;width: 50px;}
#historyDetail .gray_bg { background-color: #F5F5F5;}
</style>
<ul id="historyDetail">
	<?php
	if (count($list) > 0) {
		foreach ($list as $key=>$row) {
			$class = '';
			if ($key % 2 == 1) $class = 'gray_bg';
			$title = mb_substr($row['proname'], 0, 18, 'utf-8');
			$pubdate = date('m-d', $row['update']);
			echo <<<EOT
	<li class="{$class}" id="{$row['proid']}" name="{$row['proname']}">
		<span class="date">{$pubdate}</span>
		<a class="downsoft" title="{$row['proname']}" href="{$base_header}/home/show/{$row['probelong']}/{$row['proid']}.html" target="_blank">{$title}</a>
	</li>
EOT;
		}
	}else {
	echo "<li>您还没有发布信息</li>";
	} ?>
</ul>